python number and name of weekday

39

import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))

Comments

Submit
0 Comments